package com.example.simplefactory;

/**
 * @version 1.0.0
 * @className: WeChatMessage
 * @description: 使用微信方式实现sayHello
 * @author: zhangjunfa
 * @date: 2022/6/9 14:00
 */
public class WeChatMessage implements IMessage {
    /**
     * 定义一个sayHello接口
     *
     * @param name :
     * @return void
     * @author rosszhang
     * @date 2022/6/9 13:59
     */
    @Override
    public void sayHello(String name) {
        System.out.println("微信方式: " + name + " say hello!");
    }
}
